Micron Document
Fox's Git Mirrors

Node / rns-mirrors / Reticulum-Go.git / files / pkg / interfaces / backbone_test_helpers.go

Displaying Raw • Download

pkg/interfaces/backbone_test_helpers.go 83609bcb589eb3cfc35b98ecc0b3327b2ae99d77 (83609bcb) Text, 366 B

// SPDX-License-Identifier: Apache-2.0
// Copyright (c) 2024-2026 Quad4.io

package interfaces

import (
"testing"

"quad4/reticulum-go/pkg/backbone"
)

func testBackboneHub(t *testing.T) *backbone.Hub {
t.Helper()
hub, err := backbone.Init(backbone.BackendGo)
if err != nil {
t.Fatalf("backbone.Init: %v", err)
}
t.Cleanup(backbone.Shutdown)
return hub
}

Served by rngit 1.5.2 - Generated in 0.02s